export default {
  path: '/admin',
  component: () => import(/* webpackChunkName: "login" */ '@/views/admin'),
  children: [
    {
      path: 'msg',
      component: () => import(/* webpackChunkName: "msg" */ '@/views/msg'),
      meta: {
        role: ['admin', 'edit']
      }
    },
    {
      path: 'user',
      component: () => import(/* webpackChunkName: "user" */ '@/views/user'),
      meta: {
        role: ['admin', 'edit']
      }
    },
    {
      path: 'limits',
      component: () => import(/* webpackChunkName: "limits" */ '@/views/limits'),
      meta: {
        role: ['admin', 'edit']
      }
    }
  ]
}